package jspservlet.dao;

import jspservlet.vo.*;

import java.util.Date;
import java.util.List;

public interface UserDao {
    int queryByManagerName(User user) throws Exception;
    int addToWarehouse(int warehouseID, String warehouseName, int managerID);

    void addWorker(Worker worker,int managerID,int warehouseID);

    int addShelf(shelf shelf,int warehouseID);


    List<allinfor> list();

    void delete(int Type,int ID);

}

